<!doctype html>
<html lang="en">
 <head>
    <!-- This is what you need -->
    <link rel="stylesheet" href="sweetalert/sweet-alert.css">
    <script src="sweet-alert.js"></script>
    
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
 <input type="button" value="" onclick="s()">
 </body>
</html>
<script type="text/javascript">
<!--
	function s(){
	sweetAlert("Warning", "Something went wrong!");
	}
//-->
 $(document).ready(function(){
	  sweetAlert("Warning", "Something went wrong!");
 });
</script>